Fix build error with --with-ed25519-libsodium and --with-openssl
authorDaiki Ueno <dueno@redhat.com>
Mon, 24 Mar 2025 12:25:12 +0000 (21:25 +0900)
committerDaiki Ueno <dueno@redhat.com>
Mon, 24 Mar 2025 12:25:12 +0000 (21:25 +0900)
commitbd2a9753e5227c97bda737e00a00451d361449f3
tree3bd782697ef36e1d73bc00eb126c5d1bc9814a09
parentb3adfa83ab61682dec6c3834678ca2e9eae43e03
Fix build error with --with-ed25519-libsodium and --with-openssl

While libotcore can be configured with those options individually, the
latter is always required for OpenSSL's EVP functions. This splits the
ifdefs to accommodate that.

Signed-off-by: Daiki Ueno <dueno@redhat.com>
src/libotcore/otcore.h